package com.hk.service.impl;

import com.hk.dao.CerDao;
import com.hk.entity.Certificates;
import com.hk.service.CerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CerServiceImpl implements CerService {

    @Autowired
    private CerDao cerDao;

    @Override
    public void uploadImage(String stuId, String url,String title) {
        cerDao.uploadImage(stuId,url,title);
    }

    @Override
    public List<Certificates> queryAllCer(String stuId) {
        return cerDao.queryAllCer(stuId);
    }


}
